<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<!--翻页 start-->
<form name="selectPageForm" action="{$smarty.server.PHP_SELF}" method="get">
<!--{if $pager['styleid']== 0 }-->
<div id="pager">
  {$lang['pager_1']}{$pager['record_count']}{$lang['pager_2']}{$lang['pager_3']}{$pager['page_count']}{$lang['pager_4']} <span> <a href="{$pager['page_first']}">{$lang['page_first']}</a> <a href="{$pager['page_prev']}">{$lang['page_prev']}</a> <a href="{$pager['page_next']}">{$lang['page_next']}</a> <a href="{$pager['page_last']}">{$lang['page_last']}</a> </span>
  

	 <!--{loop $pager['search'] $key $item}--> 
			<!--{if $key == 'keywords'}-->
			  <input type="hidden" name="{$key}" value="{$item}" />
			<!--{else}-->
			  <input type="hidden" name="{$key}" value="{$item}" />
		  <!--{/if}-->
   <!--{/loop}-->
    <select name="page" id="page" onchange="selectPage(this)">
    
    </select>
</div>
<!--{else}-->
 <!--翻页 start-->
 <div id="pager" class="pagebar">
  <span class="f_l f6" style="margin-right:10px;">{$lang['pager_1']}<b>{$pager['record_count']}</b> {$lang['pager_2']}</span>
  <!--{if $pager['page_first']}--><a href="{$pager['page_first}">{$lang['page_first']} ...</a><!--{/if}-->
  <!--{if $pager['page_prev']}--><a class="prev" href="{$pager['page_prev']}">{$lang['page_prev']}</a><!--{/if}-->
  <!--{if $pager['page_count']!=1}-->
    <!--{loop $pager['page_number'] $key $item}-->
      <!--{if $pager['page']== $key}-->
      <span class="page_now">{$key}</span>
      <!--{else}-->
      <a href="{$item}">[{$key}]</a>
      <!--{/if}-->
    <!--{/loop}-->
  <!--{/if}-->

  <!--{if $pager['page_next']}--><a class="next" href="{$pager['page_next']}">{$lang['page_next']}</a><!--{/if}-->
  <!--{if $pager['page_last']}--><a class="last" href="{$pager['page_last']}">...{$lang['page_last']}</a><!--{/if}-->
  <!--{if $pager['page_kbd']}-->
    <!--{loop $pager['search'] $key $item}-->
     
	   <!--{if $key== $keywords}-->
          <input type="hidden" name="{$key}" value="{$item|escape:decode_url}" />
       <!--{else}-->
          <input type="hidden" name="{$key}" value="{$item}" />
     <!--{/if}-->
    <!--{/loop}-->
    <kbd style="float:left; margin-left:8px; position:relative; bottom:3px;"><input type="text" name="page" onkeydown="if(event.keyCode==13)selectPage(this)" size="3" class="B_blue" /></kbd>
    <!--{/if}-->
</div>
<!--翻页 END-->

<!--{/if}-->
</form>
<script type="Text/Javascript" language="JavaScript">
<!--

function selectPage(sel)
{
  sel.form.submit();
}

//-->
</script>
